package BlackJack.Model.Events
{
	import BlackJack.Model.VO.TableData;
	import flash.events.Event;

	public class TableListEvent extends Event
	{
		public static const TableList:String = 'TableList';
		private var _page:int;
		private var _data:Vector.<TableData>;

		public function TableListEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}

		public function get page():int
		{
			return _page;
		}

		public function set page(value:int):void
		{
			_page = value;
		}

		public function get data():Vector.<TableData>
		{
			return _data;
		}

		public function set data(value:Vector.<TableData>):void
		{
			_data = value;
		}
	}
}
